@import url('../../assets/global.less');

.custom-header {
  padding-top: 80rpx;
  padding-left: 30rpx;
  display: flex;
  align-items: center;
  background-color: #fff;
  height: 100rpx;

  .location {
    display: flex;
    align-items: center;
    font-size: 28rpx;
    font-weight: 500;
    color: #333;

    .icon {
      width: 32rpx;
      height: 32rpx;
      margin-right: 10rpx;
    }
  }
}

.container {
  .flexbox(column, center, center);
  width: 100%;
  position: relative;
  background-color: rgba(250, 250, 251, 1);
}

.search {
  width: 90%;
  height: 68px;
  opacity: 1;
  margin-top: 1rem;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 55px;

  .flexbox(row, center, flex-start);

  .image {
    left: 32px;
    top: 18px;
    width: 31px;
    height: 32px;
    opacity: 1;
    margin-left: 1rem;
  }

  text {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(148, 149, 153, 1);
    text-align: left;
    vertical-align: top;
    margin-left: 0.5rem;
  }
}

.main {
  .flexbox(row, center, center);
  width: 90%;
  flex-wrap: wrap;

  .icon {
    margin: 1rem;
    width: 102px;
    height: 146px;
  }
}

.order {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(24, 24, 26, 1);
  text-align: left;
  vertical-align: top;
  margin: 1rem;
  width: 90%;
  position: relative;
  .flexbox(column, center, center);

  .title {
    width: 100%;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(24, 24, 26, 1);
    text-align: left;
    vertical-align: top;
    margin-bottom: 2.5rem;
  }

  .decoration {
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    width: 100%;

    .color {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }

    .white {
      position: absolute;
      top: 15px;
      left: 0;
      width: 100%;
    }
  }

  .item {
    background-color: white;
    .flexbox(row, center, space-between);
    padding: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 90%;


    image {
      width: 100px;
      height: 100px;
      opacity: 1;
      background: rgba(200, 201, 204, 1);
      border-radius: 10086px;
      display: block;
      flex-shrink: 0;
    }

    .text {
      width: calc(100% - 130px);
      padding-left: 20px;
      padding-right: 10px;
      height: 80px;
      position: relative;
      .flexbox(column, center, space-between);

      .top {
        .flexbox(row, center, space-between);
        width: 100%;

        .name {
          font-size: 26px;
          font-weight: 200;
          letter-spacing: 0px;
          line-height: 40px;
          color: rgba(48, 49, 51, 1);
          text-align: left;
          vertical-align: top;
        }

        .time {
          font-size: 24px;
          font-weight: 500;
          letter-spacing: 0px;
          line-height: 24px;
          color: rgba(148, 149, 153, 1);
          text-align: right;
        }
      }

      .bottom {
        .flexbox(row, center, space-between);
        width: 100%;

        .service {
          font-size: 24px;
          font-weight: 500;
          letter-spacing: 0px;
          line-height: 24px;
          color: rgba(98, 99, 102, 1);
          text-align: left;
          vertical-align: top;
        }

        .price {
          font-size: 26px;
          font-weight: 700;
          letter-spacing: 0px;
          line-height: 24px;
          color: rgba(165, 46, 58, 1);
          text-align: left;
          vertical-align: top;
        }
      }
    }
  }
}

.class {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(24, 24, 26, 1);
  text-align: left;
  vertical-align: top;
  margin: 1rem;
  width: 90%;
  position: relative;
  .flexbox(column, center, center);

  .title {
    width: 100%;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(24, 24, 26, 1);
    text-align: left;
    vertical-align: top;
    margin-bottom: 1rem;
  }

  .item {
    background-color: white;
    .flexbox(row, center, space-between);
    padding: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 90%;

    image {
      width: 100px;
      height: 100px;
      opacity: 1;
      background: rgba(200, 201, 204, 1);
      border-radius: 10086px;
      display: block;
      flex-shrink: 0;
    }
  }

  .text {
    width: calc(100% - 130px);
    padding-left: 20px;
    padding-right: 10px;
    height: 80px;
    position: relative;
    .flexbox(column, center, space-between);

    .top {
      .flexbox(row, center, space-between);
      width: 100%;

      .course {
        font-size: 26px;
        font-weight: 200;
        letter-spacing: 0px;
        line-height: 40px;
        color: rgba(48, 49, 51, 1);
        text-align: left;
      }

      .price {
        font-size: 26px;
        font-weight: 700;
        letter-spacing: 0px;
        line-height: 24px;
        color: rgba(165, 46, 58, 1);
        text-align: left;
        vertical-align: top;
      }
    }

    .bottom {
      .flexbox(row, center, space-between);
      width: 100%;

      .name {
        font-size: 24px;
        font-weight: 500;
        letter-spacing: 0px;
        line-height: 24px;
        color: rgba(98, 99, 102, 1);
        text-align: left;
      }

      .intro {
        font-size: 24px;
        font-weight: 500;
        letter-spacing: 0px;
        line-height: 24px;
        color: rgba(98, 99, 102, 1);
        text-align: left;
      }

      .bottom {
        .flexbox();
        width: 88px;
        height: 40px;
        mix-blend-mode: multiply;
        opacity: 1;
        border-radius: 4px;
        background: linear-gradient(180deg, rgba(165, 46, 58, 1) 0%, rgba(145, 39, 50, 1) 100%);
        font-size: 24px;
        font-weight: 500;
        letter-spacing: 0px;
        line-height: 24px;
        color: rgba(255, 255, 255, 1);
        text-align: left;
      }
    }
  }
}

.place {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(24, 24, 26, 1);
  text-align: left;
  vertical-align: top;
  margin: 1rem;
  width: 90%;
  position: relative;
  .flexbox(column, center, center);

  .text {
    width: 100%;
    .flexbox(row, center, space-between);
    margin-bottom: 1rem;

    .title {
      width: 100%;
      font-size: 34px;
      font-weight: 600;
      letter-spacing: 0px;
      line-height: 24px;
      color: rgba(24, 24, 26, 1);
      text-align: left;
      vertical-align: top;

    }

    .more {
      width: 100%;
      font-size: 24px;
      font-weight: 500;
      letter-spacing: 0px;
      line-height: 24px;
      color: rgba(148, 149, 153, 1);
      text-align: right;
      vertical-align: top;
    }
  }

  .item {
    .flexbox(column);
    width: 100%;

    image {
      width: 686px;
      height: 294px;
      opacity: 1;
      background: rgba(239, 239, 239, 1);
    }

    .text {
      .flexbox(column);
      width: 100%;

      .top {
        .flexbox(row, center, space-between);
        margin-top: 1rem;
        width: 90%;

        .title {
          font-size: 32px;
          font-weight: 600;
          letter-spacing: 0px;
          line-height: 46px;
          color: rgba(24, 24, 26, 1);
          text-align: left;
        }

        .distance {
          font-size: 24px;
          font-weight: 700;
          letter-spacing: 0px;
          line-height: 24px;
          color: rgba(200, 201, 204, 1);
          text-align: right;
        }
      }

      .bottom {
        .flexbox(column, flex-start);
        width: 90%;
        position: relative;

        .address {
          font-size: 24px;
          font-weight: 500;
          letter-spacing: 0px;
          line-height: 24px;
          color: rgba(98, 99, 102, 1);
          text-align: left;
          margin-top: 1rem;
          width: 100%;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          margin-bottom: 1rem;
        }

        .statusAndTime {
          .flexbox(row);

          .status {
            font-size: 24px;
            font-weight: 500;
            letter-spacing: 0px;
            line-height: 24px;
            color: rgba(200, 201, 204, 1);
            text-align: left;
          }

        }
      }
    }
  }

}